//
//  HsUserDefaults.h
//  CRM-iPhone
//
//  Created by Mead on 12/9/13.
//  Copyright (c) 2013 hundsun. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface HsUserDefaults : NSObject

//获取document下面的文件路径,全路径
//fileName文件名
+ (NSString*) fullFilePath:(NSString*)fileName;

//设置int值
+ (void)setInteger:(NSInteger)value forKey:(NSString *)defaultName;
//获取int值
+ (NSInteger)integerForKey:(NSString *)defaultName;

//设置double值
+ (void)setDouble:(double)value forKey:(NSString *)code;
//获取double值
+ (double)doubleForKey:(NSString *)code;

//设置string值
+ (void)setString:(NSString*)value forKey:(NSString *)code;
//获取string值
+ (NSString*)stringForKey:(NSString *)code;

//设置bool值
+ (void)setBool:(BOOL)value forKey:(NSString *)code;
//获取bool值
+ (BOOL)boolForKey:(NSString *)code;

//设置obj值
+ (void)setObject:(NSObject*)value forKey:(NSString *)code;
//获取ojb值
+ (id)objectForKey:(NSString *)code;
//初始化默认参数
+ (void)firstSetup;
//UUID
+(NSString*)UUID;

@end
